package com.foreverwin.mes.lims.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import java.io.Serializable;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author Levy
 * @since 2020-03-04
 */
public class InspectEndConfirm extends Model<InspectEndConfirm> {

    private static final long serialVersionUID = 1L;

   @TableId(value = "HANDLE", type = IdType.INPUT)
   private String handle;
   @TableField("SITE")
   private String site;
   /**
    * 任务编号
    */
   @TableField("TASK_ID")
   private String taskId;
   /**
    * 检验批次
    */
   @TableField("SFC")
   private String sfc;
   /**
    * 物料
    */
   @TableField("ITEM_BO")
   private String itemBo;
   /**
    * 最终结果(PASS/failed)
    */
   @TableField("FINAL_RESULT")
   private String finalResult;
   /**
    * 不良代码
    */
   @TableField("NC_CODE")
   private String ncCode;
   /**
    * 创建人员
    */
   @TableField("CREATED_USER")
   private String createdUser;
   /**
    * 创建时间
    */
   @TableField("CREATED_DATE_TIME")
   private Date createdDateTime;
   /**
    * 更新人员
    */
   @TableField("UPDATED_USER")
   private String updatedUser;
   /**
    * 更新时间
    */
   @TableField("UPDATED_DATE_TIME")
   private Date updatedDateTime;


   public String getHandle() {
      return handle;
   }

   public void setHandle(String handle) {
      this.handle = handle;
   }

   public String getSite() {
      return site;
   }

   public void setSite(String site) {
      this.site = site;
   }

   public String getTaskId() {
      return taskId;
   }

   public void setTaskId(String taskId) {
      this.taskId = taskId;
   }

   public String getSfc() {
      return sfc;
   }

   public void setSfc(String sfc) {
      this.sfc = sfc;
   }

   public String getItemBo() {
      return itemBo;
   }

   public void setItemBo(String itemBo) {
      this.itemBo = itemBo;
   }

   public String getFinalResult() {
      return finalResult;
   }

   public void setFinalResult(String finalResult) {
      this.finalResult = finalResult;
   }

   public String getNcCode() {
      return ncCode;
   }

   public void setNcCode(String ncCode) {
      this.ncCode = ncCode;
   }

   public String getCreatedUser() {
      return createdUser;
   }

   public void setCreatedUser(String createdUser) {
      this.createdUser = createdUser;
   }

   public Date getCreatedDateTime() {
      return createdDateTime;
   }

   public void setCreatedDateTime(Date createdDateTime) {
      this.createdDateTime = createdDateTime;
   }

   public String getUpdatedUser() {
      return updatedUser;
   }

   public void setUpdatedUser(String updatedUser) {
      this.updatedUser = updatedUser;
   }

   public Date getUpdatedDateTime() {
      return updatedDateTime;
   }

   public void setUpdatedDateTime(Date updatedDateTime) {
      this.updatedDateTime = updatedDateTime;
   }

   public static final String HANDLE = "HANDLE";

   public static final String SITE = "SITE";

   public static final String TASK_ID = "TASK_ID";

   public static final String SFC = "SFC";

   public static final String ITEM_BO = "ITEM_BO";

   public static final String FINAL_RESULT = "FINAL_RESULT";

   public static final String NC_CODE = "NC_CODE";

   public static final String CREATED_USER = "CREATED_USER";

   public static final String CREATED_DATE_TIME = "CREATED_DATE_TIME";

   public static final String UPDATED_USER = "UPDATED_USER";

   public static final String UPDATED_DATE_TIME = "UPDATED_DATE_TIME";

   @Override
   protected Serializable pkVal() {
      return this.handle;
   }

   @Override
   public String toString() {
      return "InspectEndConfirm{" +
         "handle = " + handle +
         ", site = " + site +
         ", taskId = " + taskId +
         ", sfc = " + sfc +
         ", itemBo = " + itemBo +
         ", finalResult = " + finalResult +
         ", ncCode = " + ncCode +
         ", createdUser = " + createdUser +
         ", createdDateTime = " + createdDateTime +
         ", updatedUser = " + updatedUser +
         ", updatedDateTime = " + updatedDateTime +
         "}";
   }
}